package com.biomatch.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "ls_position")
public class Position {

    @TableId(value = "id")
    private int id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "status")
    private boolean status;

    @TableField(value = "createtime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(value = "updatetime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField(value = "creatorid")
    private int creatorId;

    @TableField(value = "creatorname")
    private String creatorName;

    @TableField(value = "positionId")
    private String positionId;
}
